﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LY.Manage.Model;

namespace LY.Manage.IDAL
{
    public partial interface IUserInfoDal:IBaseDal<UserInfo>
    {


        //定义自己特有的方法


        /*
         * //下面的是第一步的方法 新建IbaseDal后 则注释掉
        IQueryable<UserInfo> LoadEntities(System.Linq.Expressions.Expression<Func<UserInfo, bool>> whereLombda);


        //isAsc true 升序
        IQueryable<UserInfo> LoadPageEntities<s>(int pageIndex, int pageSize, out int totalCount,
            System.Linq.Expressions.Expression<Func<UserInfo, bool>> whereLambda,
            System.Linq.Expressions.Expression<Func<UserInfo, s>> orderLambda,
            bool isAsc);

        bool DeleteEntity(UserInfo entity);

        bool UpdateEntity(UserInfo entity);
        
        UserInfo AddEntity(UserInfo entity);

        */

    }
}
